System Requirements:
Windows 10 22H2
MATLAB R2023b
MATLAB Signal Processing Toolbox
Code tested on MATLAB R2023b

Installation:
https://www.mathworks.com/help/install/install-products.html
Install time may vary based on internet connection speed.

Instructions and Demo:
Demo Data Included = Photometry_Signal_Prep_Sample_Data.csv
1.) Update the intergers on the far right of the parentheses on lines 7 and 8 to match your sampling rates and save (not necessary for
demo data).
2.) Run the first block of code (Lines 1-4, highlight and press F9). 
3.) Organize the newly created "dat" variable by copy/pasting data as follows (do not include column headers):		
	a.)Column 1 = time
	b.)Column 2 = 465nm channel
	b.)Column 3 = 405nm channel
4.) Run the rest of the script (Lines 7 - end) to calculate DF/F0

Output:
You will see an "output_table" table and a stacked line plot "s" in your workspace.
Select output_table to see your time-reel, DF/F0, and raw channel data.
"s" is a visualization of output_table
Run Time is approximately 8.45 seconds, but will vary based on your sampling rate and computer hardware.